package com.itheima.text1;

public class Text2 {
    public static void main(String[] args) {
        Outer2 o = new Outer2();
        o.method();
    }
}
class Outer2{
    private class Inter2{

        public void show(){
            System.out.println("内部类私有方法");
        }
    }

    public void method(){
        Inter2 i = new Inter2();
        i.show();
    }
}

